<!-- toolbar -->
<?php echo Agis::getHelper('@toolbar')->render('admin.settings.permission');?>
<h2>permission</h2>
<div class="admin-main-table">
	<table>
		<thead>
			<tr>
				<td>#</td>
				<td>id</td>
				<td>name</td>
				<td>major role</td>
				<td>description</td>
				<td>action</td>
			</tr>
		</thead>
		<tbody>
			<?php foreach($paginator as $item):
			?>
			<tr>
				<td>#</td>
				<td><?php echo $item -> role_id;?></td>
				<td><?php echo $item -> role;?></td>
				<td><?php echo $item -> major_role;?></td>
				<td><?php echo $item -> role_description;?></td>
				<td>
					[<a href="<?php echo Agis::getUrl('admin/settings/role/edit');?>">edit</a>]
				</td>
			</tr>
			<?php endforeach;?>
		</tbody>
	</table>
</div>